package net.lzzy.entity;

import lombok.Data;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

@SpringBootApplication
@EnableCaching
@Entity(name = "t_comment")
@Data
public class Commernt {



        @Id
        private Integer id;
        private String author;
        private String content;
        @Column(name = "a_id")
        private Integer aId;



}
